# geometry manager

# 画布  根窗口
#       root master  win
# 组件
#       button  按钮
#       Label  标签 文本  Text Message

import tkinter

win = tkinter.Tk()
win.title('This is My TK procedure')
win.minsize(300,500)
win.maxsize(800,600)

# 创建一个 button 组件
button1 = tkinter.Button(master = win,text='确定')
button1.pack()

win.mainloop()